package com.fsj.miniapp.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Set;

@Service
public class RoleService {

    @Autowired
    private RoleConfigService roleConfigService;

    public Set<String> getRolesByUserId(Long id) {
        return roleConfigService.getRolesByUserId(id);
    }
}
